package com.china.itapi.common.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * 功能描述：[乘机人表，与当前微信用户OpenId关联] * 作者: lenovo 时间: 下午02:11:04 修改记录： 日期 作者 内容
 * ==========================================================================
 * ==========================================================================
 */
@Entity
@Table(name = "wx_customers")
public class CustomerEntity implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 903005521549191046L;
	/**
	 * ID
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "customer_id", nullable = false)
	private Long id;
	/**
	 * 微信ID
	 */
	@Column(name = "open_id", nullable = false)
	private String openId;
	/**
	 * 中文名
	 */
	@Column(name = "firstname_cn")
	private String firstNameCn;
	/**
	 * 中文姓
	 */
	@Column(name = "familyname_cn")
	private String familyNameCn;
	/**
	 * 英文名
	 */
	@Column(name = "firstname_en")
	private String firstNameEn;
	/**
	 * 英文姓
	 */
	@Column(name = "familyname_en")
	private String familyNameEn;

	/**
	 * 旅客类型 ADT(成人)CNN(儿童)
	 */
	@Column(name = "traveler_type")
	private String travelerType;

	/**
	 * 性别；M：男；F：女；
	 */
	@Column(name = "gender")
	private String gender;
	/**
	 * 证件类型；id：身份证；passport：护照；
	 */
	@Column(name = "certificate_type")
	private String certType;
	/**
	 * 证件号
	 */
	@Column(name = "certificate_number")
	private String certNrb;
	/**
	 * 手机
	 */
	@Column(name = "mobile")
	private String mobile;
	/**
	 * 邮件
	 */
	@Column(name = "email")
	private String email;
	/**
	 * 生日
	 */
	@Column(name = "birthday")
	private String birthday;
	/**
	 * 国籍
	 */
	@Column(name = "country")
	private String country;
	/**
	 * 常旅客计划
	 */
	@Column(name = "phenix_card_type")
	private String phCardType;
	/**
	 * 常旅客卡号
	 */
	@Column(name = "phenix_card_number")
	private String phCardNbr;
	/**
	 * 护照所属国家
	 */
	@Column(name = "passport_country")
	private String passportCountry;
	/**
	 * 护照有效期
	 */
	@Column(name = "passport_date")
	private java.util.Date passportDate;
	/**
	 * 用户航线类型：I：国际，D：国内
	 */
	@Column(name = "router_type")
	private String routerType;
	/**
	 * adp省份（洲）
	 */
	@Column(name = "apd_province_name")
	private String adpProName;
	/**
	 * adp城市名
	 */
	@Column(name = "apd_city_name")
	private String adpCityName;
	/**
	 * adp邮编
	 */
	@Column(name = "apd_post_number")
	private String apdPostNbr;
	/**
	 * adp地址
	 */
	@Column(name = "apd_address")
	private String apdAddress;

	/**
	 * 同步状态，null：表示微信页面录入；1：表示同步网站；2：表示同步网站，微信页面已经对其修改；3：表示数据过期
	 */
	@Column(name = "synchronous_status")
	private String SynchronousStatus;

	/**
	 * 同步过来的乘机人ID
	 */
	@Column(name = "pkFlyerID")
	private String pkFlyerID;

	public String getOpenId() {
		return openId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getFirstNameCn() {
		return firstNameCn;
	}

	public void setFirstNameCn(String firstNameCn) {
		this.firstNameCn = firstNameCn;
	}

	public String getFamilyNameCn() {
		return familyNameCn;
	}

	public void setFamilyNameCn(String familyNameCn) {
		this.familyNameCn = familyNameCn;
	}

	public String getFirstNameEn() {
		return firstNameEn;
	}

	public void setFirstNameEn(String firstNameEn) {
		this.firstNameEn = firstNameEn;
	}

	public String getFamilyNameEn() {
		return familyNameEn;
	}

	public void setFamilyNameEn(String familyNameEn) {
		this.familyNameEn = familyNameEn;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getCertType() {
		return certType;
	}

	public void setCertType(String certType) {
		this.certType = certType;
	}

	public String getCertNrb() {
		return certNrb;
	}

	public void setCertNrb(String certNrb) {
		this.certNrb = certNrb;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getPhCardType() {
		return phCardType;
	}

	public void setPhCardType(String phCardType) {
		this.phCardType = phCardType;
	}

	public String getPhCardNbr() {
		return phCardNbr;
	}

	public void setPhCardNbr(String phCardNbr) {
		this.phCardNbr = phCardNbr;
	}

	public String getPassportCountry() {
		return passportCountry;
	}

	public void setPassportCountry(String passportCountry) {
		this.passportCountry = passportCountry;
	}

	public java.util.Date getPassportDate() {
		return passportDate;
	}

	public void setPassportDate(java.util.Date passportDate) {
		this.passportDate = passportDate;
	}

	public String getRouterType() {
		return routerType;
	}

	public void setRouterType(String routerType) {
		this.routerType = routerType;
	}

	public String getAdpProName() {
		return adpProName;
	}

	public void setAdpProName(String adpProName) {
		this.adpProName = adpProName;
	}

	public String getAdpCityName() {
		return adpCityName;
	}

	public void setAdpCityName(String adpCityName) {
		this.adpCityName = adpCityName;
	}

	public String getApdPostNbr() {
		return apdPostNbr;
	}

	public void setApdPostNbr(String apdPostNbr) {
		this.apdPostNbr = apdPostNbr;
	}

	public String getApdAddress() {
		return apdAddress;
	}

	public void setApdAddress(String apdAddress) {
		this.apdAddress = apdAddress;
	}

	public String getTravelerType() {
		return travelerType;
	}

	public void setTravelerType(String travelerType) {
		this.travelerType = travelerType;
	}

	public String getSynchronousStatus() {
		return SynchronousStatus;
	}

	public void setSynchronousStatus(String synchronousStatus) {
		SynchronousStatus = synchronousStatus;
	}

	public String getPkFlyerID() {
		return pkFlyerID;
	}

	public void setPkFlyerID(String pkFlyerID) {
		this.pkFlyerID = pkFlyerID;
	}

}
